package li.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PagesCtrl {
    @RequestMapping("/con/{page}")
    public String mylogin(@PathVariable String page){

        return "consumer/"+page;
    }
    @RequestMapping("/cre/{page}")
    public String credit(@PathVariable String page){

        return "credit/"+page;
    }
}
